<div>
  <div class="modal-header">
    <h6 class="modal-title" id="modal-basic-title">{{courseType === 1 ? 'new Course' : 'edit Course'}}</h6>
    <button type="button" class="close" aria-label="Close" (click)="modal.dismiss('Cross click')">
      <span aria-hidden="true">&times;</span>
    </button>
  </div>
  <div class="modal-body">
    <form [formGroup]="courseForm">
      <div class="row justify-content-end">
        <div class="col">
          <div class="input-group mb-3">
            <div class="input-group-prepend">
              <span class="input-group-text">课程名称:</span>
            </div>
            <input class="form-control" id="work_name" placeholder="请填写课程名称" formControlName="course_name"/>
          </div>
        </div>
      </div>
    </form>
  </div>
  <div class="modal-footer">
    <button class="btn btn-light calendar" (click)="modal.dismiss('Cross click')" type="button">close</button>
    <button type="button" class="btn btn-warning" (click)="saveWork()">Save</button>
  </div>
</div>
